/**
 * 是 & 否
 */
var _RENDER_YES_NO = function (data, type, row, meta) {
    return (data ? '是' : '否');
};

/**
 * 禁用/启用
 */
var _RENDER_ENABLE = function (data, type, row, meta) {
    return (data == 0 ? '禁用' : '启用');
};

/**
 * 性别
 */
var _RENDER_SEX = function (data, type, row, meta) {
    console.log(data);
    var rt = '女';
    switch (data) {
        case 0:
            rt = '保密';
            break;
        case 1:
            rt = '女';
            break;
        case 2:
            rt = '男';
            break;
    }
    console.log(rt);
    return rt;
};

/**
 * 商品类型
 * @param data
 * @returns {string}
 * @private
 */
var _PRODUCT_TYPE = function (data) {
    var type = '单品';
    switch (data) {
        case 1:
            break
        case 2:
            type = '套盒';
            break;
    }
    return type;
};

/**
 * 职级
 * @private
 */
var _POSITION_LEVEL = function (data) {
    var level = '普通员工';
    switch (data) {
        case 1:
            break;
        case 2:
            level = '顾问';
            break;
        case 3:
            level = '店长';
            break;
    }
    return level;
};